php rtrim comma

95

php rtrim comma -

rtrim($my_string, ',');

php remove last character from string if comma -

$string = rtrim($string, ',');

Comments

Submit
0 Comments